package com.example.task.bean;

import java.io.Serializable;

public class Notice implements Serializable {
   private String username;
   private String data;
   private String idannouncement;
   private String date;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getIdannouncement() {
        return idannouncement;
    }



    public void setIdannouncement(String idannouncement) {
        this.idannouncement = idannouncement;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Notice(String username, String data, String idannouncement, String date) {
        this.username = username;
        this.data = data;
        this.idannouncement = idannouncement;
        this.date = date;
    }
    @Override
    public String toString() {
        return "Notice{" +
                "username='" + username + '\'' +
                ", data='" + data + '\'' +
                ", idannouncement='" + idannouncement + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
